home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSITION
/
DENTAS1.LZH
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-02
|
2KB
|
76 lines
ECHO OFF
CLS
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO
:FLOPINS
ECHO OFF
CLS
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
GOTO END
:FLOPINS2
ECHO Enter disk 1, SALES-A, into drive A now.
PAUSE
%3
B:PKUNZIP -X B:DENTL-B4.ZIP *.DB?
B:PKUNZIP -X B:DENTL-B4.ZIP *.COM
B:PKUNZIP -X B:DENTL-A4.ZIP AUTOFLOP.BAT
B:PKUNZIP -X B:DENTL-A4.ZIP INSTALL.DOC
B:PKUNZIP -X B:DENTL-A4.ZIP DEMO.DOC
B:PKUNZIP -X B:DENTL-A4.ZIP REMOTE1.DOC
B:PKUNZIP -X B:DENTL-A4.ZIP FOREIGN.DOC
B:PKUNZIP -X B:DENTL-A4.ZIP NATIVE.DOC
COPY AUTOFLOP.BAT AUTOEXEC.BAT
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
PAUSE
%3
B:PKUNZIP -X B:DENTL-A4.ZIP *.LBL
B:PKUNZIP -X B:DENTL-A4.ZIP PROSPECT.EXE
B:PKUNZIP -X B:DENTL-A4.ZIP GO-FL.BAT
COPY GO-FL.BAT GO.BAT
DEL GO-FL.BAT
B:
CLS
ECHO Insert 'Disk 2' with GO2 into drive B now.
echo
ECHO Enter: GO2
GOTO END
:FLOPINS1
GOTO END
:HARDINS1
CLS
echo
ECHO This procedure will install all files onto your hard disk, drive %2
ECHO and will create a subdirectory, \DENTIST.ACS.
echo
%2:
CD \
MKDIR DENTIST.ACS
CD DENTIST.ACS
COPY %3ECOH.COM >TMP
COPY %3YESNO.COM >TMP
COPY %3DENTL-A4.EXE >TMP
DENTL-A4
DEL DENTL-A4.EXE
DEL AUTOFLOP.BAT
COPY %3DENTL-B4.EXE >TMP
DENTL-B4
DEL DENTL-B4.EXE
CLS
%3
CLS
echo
ECOH Insert the second disk now into your floppy drive.
echo
ECHO Enter or type this command on the second disk:
echo
ECHO GO2
echo
:END
echo